<?php


namespace app\api\validate;


use think\Validate;

class ShopValidate extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'claim_code' => ['require'],
    ];

    /**
     * 提示消息
     */
    protected $message = [
        'claim_code' => '取件码',
    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'zitiGoodsVerification' => ['claim_code'],
        'couponExchangeVerification' => ['claim_code'],
    ];
}